:root {
  --saffron: #e56d13;
  --saffron-dark: #9f3412;
  --marigold: #f6b73c;
  --gold: #c9932f;
  --vermillion: #b62525;
  --indigo: #24335f;
  --peacock: #0f766e;
  --lotus: #d94686;
  --success: #12805c;
  --error: #b42318;
  --whatsapp: #1fb65a;
  --text-primary: #291610;
  --text-secondary: #6e4530;
  --text-muted: #96705b;
  --surface: #fffdf5;
  --surface-soft: #fff3dc;
  --border: #e4bd78;
  --shadow: 0 26px 70px rgba(80, 38, 12, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 14% 12%, rgba(246, 183, 60, 0.36), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(217, 70, 134, 0.18), transparent 28%),
    radial-gradient(circle at 70% 86%, rgba(15, 118, 110, 0.18), transparent 30%),
    linear-gradient(135deg, #fff8e6 0%, #fffdf5 43%, #ffe9ca 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.28;
  background-image:
    linear-gradient(30deg, rgba(201, 147, 47, 0.16) 12%, transparent 12.5%, transparent 87%, rgba(201, 147, 47, 0.16) 87.5%, rgba(201, 147, 47, 0.16)),
    linear-gradient(150deg, rgba(201, 147, 47, 0.16) 12%, transparent 12.5%, transparent 87%, rgba(201, 147, 47, 0.16) 87.5%, rgba(201, 147, 47, 0.16)),
    linear-gradient(30deg, rgba(201, 147, 47, 0.16) 12%, transparent 12.5%, transparent 87%, rgba(201, 147, 47, 0.16) 87.5%, rgba(201, 147, 47, 0.16)),
    linear-gradient(150deg, rgba(201, 147, 47, 0.16) 12%, transparent 12.5%, transparent 87%, rgba(201, 147, 47, 0.16) 87.5%, rgba(201, 147, 47, 0.16));
  background-position: 0 0, 0 0, 34px 60px, 34px 60px;
  background-size: 68px 120px;
}

body::after {
  background:
    linear-gradient(90deg, rgba(181, 96, 25, 0.2), transparent 14%, transparent 86%, rgba(181, 96, 25, 0.2)),
    linear-gradient(180deg, rgba(246, 183, 60, 0.18), transparent 22%, transparent);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#root {
  flex: 1;
  display: flex;
}

.app-stage {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 20px 20px;
  overflow: hidden;
}

.app-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 492px;
}

.app-card {
  position: relative;
  overflow: hidden;
  padding: 44px 34px 30px;
  border: 1px solid rgba(201, 147, 47, 0.72);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.98), rgba(255, 246, 224, 0.97)),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(16px);
  animation: card-enter 0.7s ease;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(201, 147, 47, 0.34), transparent) top / 100% 7px no-repeat,
    radial-gradient(circle at 50% -20%, rgba(246, 183, 60, 0.34), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(201, 147, 47, 0.08) 22px 23px);
}

.app-card > * {
  position: relative;
  z-index: 1;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}

.logo-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 236, 177, 0.78);
  background: #f7e8cc;
  box-shadow: 0 14px 28px rgba(181, 96, 25, 0.28);
  animation: float 3s ease-in-out infinite;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
}

.logo-text {
  font-family: "Cinzel", Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-primary);
}

.logo-subtext {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: none;
}

.app-title {
  margin: 0 0 12px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.05rem, 5vw, 2.52rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.app-subtitle {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.62;
}

.feature-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-card {
  flex: 1;
  min-height: 92px;
  padding: 15px 10px;
  border: 1px solid rgba(201, 147, 47, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 237, 0.78), rgba(255, 239, 203, 0.68));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(80, 38, 12, 0.1);
}

.feature-card i {
  display: block;
  margin-bottom: 8px;
  color: var(--vermillion);
  font-size: 22px;
}

.feature-card span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 147, 47, 0.6);
  background: #fff1d1;
  transition: all 0.3s ease;
}

.step-dot.active {
  width: 36px;
  background: linear-gradient(90deg, var(--vermillion), var(--marigold));
}

.panel {
  min-height: 280px;
}

.is-hidden {
  display: none;
}

.input-wrap {
  margin-bottom: 24px;
}

.code-input {
  width: 100%;
  padding: 17px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.9), rgba(255, 243, 220, 0.9));
  color: var(--text-primary);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.code-input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(229, 109, 19, 0.13);
  transform: scale(1.01);
}

.code-input.is-valid {
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(18, 128, 92, 0.12);
}

.code-input.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.input-hint,
.error-message {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.input-hint {
  color: var(--text-muted);
}

.error-message {
  display: none;
  color: var(--error);
}

.primary-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--vermillion), var(--saffron), var(--marigold));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(181, 96, 25, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.stock-autocomplete-anchor {
  position: relative;
  width: 100%;
}

.stock-autocomplete-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fffdf5;
  box-shadow: 0 16px 30px rgba(80, 38, 12, 0.18);
  text-align: left;
}

.stock-autocomplete-list[hidden] {
  display: none;
}

.stock-autocomplete-option {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(228, 189, 120, 0.45);
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.stock-autocomplete-option:last-child {
  border-bottom: 0;
}

.stock-autocomplete-option:hover,
.stock-autocomplete-option.is-active {
  background: var(--surface-soft);
}

.stock-autocomplete-option strong {
  flex: 0 0 auto;
  color: var(--vermillion);
}

.stock-autocomplete-option span {
  min-width: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .stock-autocomplete-list {
    max-height: 250px;
    max-height: min(250px, calc(100svh - 72px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(181, 96, 25, 0.35);
}

.primary-btn:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.primary-btn.whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--peacock));
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
}

.primary-btn.whatsapp:hover {
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.35);
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.trust-pill i {
  color: var(--peacock);
}

.loading-spinner {
  width: 60px;
  height: 60px;
  margin: 12px auto 24px;
  border: 4px solid rgba(229, 109, 19, 0.16);
  border-top-color: var(--vermillion);
  border-bottom-color: var(--peacock);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.success-mark {
  width: 84px;
  height: 84px;
  margin: 8px auto 24px;
}

.success-mark svg {
  width: 100%;
  height: 100%;
}

.success-circle {
  fill: none;
  stroke: var(--success);
  stroke-width: 3;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check {
  fill: none;
  stroke: var(--success);
  stroke-width: 3;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.55s forwards;
}

.result-message {
  margin: 18px 0 14px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.code-display {
  display: inline-block;
  margin: 0 4px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 2px solid rgba(201, 147, 47, 0.35);
  background: rgba(246, 183, 60, 0.14);
  color: var(--vermillion);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.disclaimer {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  padding: 8px 20px 24px;
}

.page-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-link {
  color: rgba(41, 22, 16, 0.68);
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--vermillion);
}

.fade-in {
  animation: fade-in 0.35s ease;
}

.slide-up {
  animation: slide-up 0.45s ease;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes stroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 520px) {
  .app-stage {
    padding-top: 18px;
  }

  .app-card {
    padding: 36px 20px 24px;
    border-radius: 18px;
  }

  .logo-row {
    align-items: flex-start;
  }

  .logo-text {
    font-size: 22px;
  }

  .logo-subtext {
    font-size: 10px;
  }

  .feature-grid {
    gap: 10px;
  }

  .feature-card {
    padding: 14px 8px;
  }

  .feature-card span {
    font-size: 12px;
  }

  .trust-row {
    gap: 14px;
  }

}

@media (max-width: 380px) {
  .feature-grid {
    flex-direction: column;
  }

  .panel {
    min-height: 316px;
  }
}

/* Updated flat tech system: white canvas, navy structure, restrained blue-cyan accents. */
:root {
  --saffron: #2563eb;
  --saffron-dark: #163c8c;
  --marigold: #22c4df;
  --gold: #6477e8;
  --vermillion: #2458d3;
  --indigo: #5945d6;
  --peacock: #1681b8;
  --lotus: #8fa7e7;
  --success: #138a63;
  --error: #b42318;
  --whatsapp: #1fb65a;
  --text-primary: #12213a;
  --text-secondary: #4d5c73;
  --text-muted: #5c6b80;
  --surface: #ffffff;
  --surface-soft: #f4f7fc;
  --border: #d9e2f0;
  --shadow: 0 20px 54px rgba(28, 53, 99, 0.12);
}

body {
  color: var(--text-primary);
  background: #fff;
}

body::before,
body::after {
  display: none;
}

.app-stage {
  background: #fff;
}

.app-card {
  border: 1px solid #e1e8f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.app-card::before {
  display: none;
}

.logo-row {
  align-items: center;
}

.logo-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid #d9e7fb;
  border-radius: 16px;
  background: linear-gradient(145deg, #f4f8ff, #e8f3ff);
  box-shadow: 0 8px 20px rgba(36, 88, 211, 0.14);
  animation: none;
}

.brand-icon {
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
}

.brand-baseline {
  fill: none;
  stroke: #9fb6d9;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.brand-bars {
  fill: none;
  stroke: #7694c5;
  stroke-width: 3.5;
  stroke-linecap: round;
}

.brand-trend,
.brand-arrow {
  fill: none;
  stroke: url(#brand-line);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-text {
  color: #163c8c;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.app-title {
  color: #142b50;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.app-subtitle {
  color: var(--text-secondary);
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: #fff;
}

.feature-card::before {
  display: none;
}

.feature-icon,
.trust-icon,
.action-icon {
  fill: none;
  stroke: #2458d3;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
}

.feature-card:nth-child(2) .feature-icon {
  stroke: #5945d6;
}

.feature-card:nth-child(3) .feature-icon {
  stroke: #1681b8;
}

.feature-icon .icon-accent,
.trust-icon .icon-accent,
.action-icon .icon-accent {
  stroke: #13a9c6;
}

.trust-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.action-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: #fff;
}

.feature-card span {
  color: #34445e;
}

.feature-card:hover {
  border-color: #c5d7f1;
  box-shadow: 0 10px 24px rgba(28, 53, 99, 0.09);
}

.step-dot {
  border-color: #cbd8ea;
  background: #f0f4fa;
}

.step-dot.active {
  background: linear-gradient(90deg, #2458d3, #168fc5);
}

.code-input {
  border: 1px solid #cbd7e8;
  border-radius: 12px;
  background: #fff;
  color: var(--text-primary);
  text-transform: none;
}

.code-input::placeholder {
  color: #687890;
  opacity: 1;
  text-transform: none;
}

.code-input:focus {
  border-color: #3976e8;
  box-shadow: 0 0 0 4px rgba(57, 118, 232, 0.14);
}

.input-hint,
.disclaimer {
  color: var(--text-muted);
}

.primary-btn {
  border-radius: 12px;
  background: linear-gradient(112deg, #163c8c 0%, #2458d3 58%, #3479e8 100%);
  box-shadow: 0 10px 24px rgba(36, 88, 211, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.primary-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(36, 88, 211, 0.26);
}

.primary-btn:focus-visible,
.code-input:focus-visible {
  outline: 3px solid rgba(22, 143, 197, 0.42);
  outline-offset: 3px;
}

.primary-btn.whatsapp {
  background: linear-gradient(135deg, #20bd65, #159c53);
  box-shadow: 0 10px 24px rgba(31, 182, 90, 0.2);
}

.primary-btn.whatsapp:hover:not(:disabled) {
  box-shadow: 0 14px 30px rgba(31, 182, 90, 0.27);
}

.trust-pill {
  color: #46566f;
}

.loading-spinner {
  border-color: rgba(36, 88, 211, 0.14);
  border-top-color: #2458d3;
  border-bottom-color: #16a3c6;
}

.success-circle,
.success-check {
  stroke: var(--success);
}

.result-message {
  color: #142b50;
}

.code-display {
  border-color: rgba(36, 88, 211, 0.2);
  background: #f0f5ff;
  color: #2458d3;
}

.nav-link {
  color: #586981;
}

.nav-link:hover {
  color: #2458d3;
}

@media (max-width: 520px) {
  .logo-row {
    align-items: center;
  }
}

/* Soft mesh, glass details, and cyan-indigo interaction accents. */
:root {
  --accent-cyan: #12b7cf;
  --accent-indigo: #665de0;
}

body {
  background:
    radial-gradient(48rem 38rem at 11% 6%, rgba(18, 183, 207, 0.12), transparent 66%),
    radial-gradient(44rem 34rem at 94% 10%, rgba(102, 93, 224, 0.11), transparent 64%),
    radial-gradient(38rem 30rem at 72% 100%, rgba(54, 170, 211, 0.08), transparent 68%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 48%, #f8f7ff 100%);
  background-attachment: fixed;
}

body::before {
  display: block;
  z-index: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(49, 103, 151, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 103, 151, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at 50% 34%, #000 0%, transparent 86%);
}

body::after {
  display: block;
  z-index: 0;
  opacity: 0.2;
  background-image: radial-gradient(circle, rgba(29, 150, 184, 0.2) 1px, transparent 1.4px);
  background-size: 18px 18px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.page-shell {
  position: relative;
  z-index: 1;
}

.app-stage {
  background: transparent;
}

.app-card {
  border-color: rgba(128, 178, 211, 0.48);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 255, 0.88));
  box-shadow:
    0 20px 54px rgba(28, 53, 99, 0.1),
    0 0 28px rgba(18, 183, 207, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.app-card::before {
  display: block;
  opacity: 0.8;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(18, 183, 207, 0.11), transparent 39%),
    radial-gradient(ellipse at 100% 18%, rgba(102, 93, 224, 0.08), transparent 34%);
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(18, 183, 207, 0.32), transparent 38%, rgba(102, 93, 224, 0.24));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.72;
}

.logo-icon {
  border-color: rgba(130, 199, 224, 0.68);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(202, 240, 248, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 16px rgba(18, 183, 207, 0.1),
    0 8px 20px rgba(36, 88, 211, 0.1),
    0 0 22px rgba(18, 183, 207, 0.13);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
}

.logo-text,
.app-title {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82), 0 0 18px rgba(18, 183, 207, 0.08);
}

.feature-card {
  border-color: rgba(145, 183, 218, 0.48);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(241, 248, 255, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition:
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.feature-card::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(18, 183, 207, 0.12), transparent 58%),
    radial-gradient(ellipse at 100% 100%, rgba(102, 93, 224, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 240ms ease;
}

@media (hover: hover) {
  .app-card:hover {
    border-color: rgba(92, 183, 213, 0.62);
    box-shadow:
      0 22px 58px rgba(28, 53, 99, 0.12),
      0 0 34px rgba(18, 183, 207, 0.13),
      0 0 52px rgba(102, 93, 224, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .feature-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.96)) padding-box,
      linear-gradient(125deg, var(--accent-cyan), var(--accent-indigo)) border-box;
    box-shadow:
      0 10px 24px rgba(28, 53, 99, 0.1),
      0 0 18px rgba(18, 183, 207, 0.2),
      0 0 28px rgba(102, 93, 224, 0.12);
  }

  .feature-card:hover::before {
    opacity: 1;
  }

  .feature-card:hover .feature-icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 3px 6px rgba(18, 183, 207, 0.24));
  }
}

.code-input::placeholder {
  color: #536783;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.01em;
  text-shadow: 0 0 10px rgba(18, 160, 190, 0.2);
}

.primary-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 10px 24px rgba(36, 88, 211, 0.2),
    0 0 18px rgba(18, 183, 207, 0.08);
}

.primary-btn::after {
  content: "";
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -48%;
  width: 30%;
  transform: translateX(-170%) rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.primary-btn.whatsapp {
  box-shadow:
    0 10px 24px rgba(31, 182, 90, 0.2),
    0 0 18px rgba(18, 183, 207, 0.08);
}

@media (hover: hover) {
  .primary-btn:hover:not(:disabled) {
    box-shadow:
      0 14px 30px rgba(36, 88, 211, 0.22),
      0 0 24px rgba(18, 183, 207, 0.25),
      0 0 38px rgba(102, 93, 224, 0.14);
  }

  .primary-btn.whatsapp:hover:not(:disabled) {
    box-shadow:
      0 14px 30px rgba(31, 182, 90, 0.24),
      0 0 24px rgba(18, 183, 207, 0.22),
      0 0 36px rgba(102, 93, 224, 0.13);
  }

  .primary-btn:hover:not(:disabled)::after {
    opacity: 1;
    animation: button-shimmer 850ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}

.primary-btn:focus-visible {
  box-shadow:
    0 10px 24px rgba(36, 88, 211, 0.2),
    0 0 0 4px rgba(18, 183, 207, 0.18),
    0 0 24px rgba(102, 93, 224, 0.12);
}

@keyframes button-shimmer {
  from { transform: translateX(-170%) rotate(20deg); }
  to { transform: translateX(560%) rotate(20deg); }
}

.action-status {
  margin: 12px 0 0;
  color: var(--error);
  font-size: 13px;
  line-height: 1.5;
}

.action-status[data-visible="false"] {
  display: none;
}

@media (max-width: 520px) {
  body {
    background-attachment: scroll;
  }

  body::before {
    background-size: 48px 48px;
    opacity: 0.24;
  }

  body::after {
    opacity: 0.15;
  }

  .app-card {
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
  }
}


.robot-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 7px rgba(77, 87, 217, 0.2));
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 220ms ease;
}

@media (hover: hover) {
  .logo-icon:hover {
    animation-duration: 2.9s;
  }

  .logo-icon:hover .robot-logo {
    animation-duration: 2.9s;
    filter: drop-shadow(0 3px 8px rgba(18, 183, 207, 0.27));
  }
}


.logo-icon {
  border: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(202, 240, 248, 0.18));
  box-shadow: inset 0 0 14px rgba(18, 183, 207, 0.05);
}

.robot-logo {
  animation: robot-sway 3.2s ease-in-out infinite;
  will-change: transform;
}

.logo-icon {
  animation: robot-float 3.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes robot-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}

@keyframes robot-sway {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.04); }
}
